package qeug.shsh.facde.info;

import kd.bos.openapi.common.custom.annotation.ApiModel;
import kd.bos.openapi.common.custom.annotation.ApiParam;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@ApiModel
public class UserModel {

    @ApiParam(value = "appid", required = false)
    private Long app_account__id;

    @ApiParam(value = "roles", required = false)
    private List<String> roles;
    @ApiParam(value = "岗位名称", required = false)
    private String jobName;
    @ApiParam(value = "离职日期", required = false)
    private String leaveTime;
    @ApiParam(value = "组织名称", required = false)
    private String orgName;
    @ApiParam(value = "性别", required = false)
    private int sex;
    @ApiParam(value = "手机号", required = false)
    private String mobile;
    @ApiParam(value = "用户类型名称", required = false)
    private String typeName;
    @ApiParam(value = "岗位编码", required = false)
    private String jobCode;

    @ApiParam(value = "人员类型", required = false)
    private List<UserTypesBean> userTypes;

    @ApiParam(value = "人员类型", required = false)
    private List<JobsBean> jobs;

    @ApiParam(value = "人员类型", required = false)
    @NotNull
    private List<OrgsBean> orgs;
    @ApiParam(value = "更新时间", required = false)
    private String updateTime;
    @ApiParam(value = "下游系统编码", required = false)
    private String appCode;
    @ApiParam(value = "邮箱", required = false)
    private String email;

    @ApiParam(value = "groups", required = false)
    private List<String> groups;
    @ApiParam(value = "用户类型编码", required = false)
    private String typeCode;
    @ApiParam(value = "员工工号", required = false)
    private String workNo;
    @ApiParam(value = "入职日期", required = false)
    private String entryTime;
    @ApiParam(value = "姓名拼音", required = false)
    private String pinyin;

    @ApiParam(value = "创建时间", required = false)
    private String createTime;
    @ApiParam(value = "组织编码", required = false)
    private String orgCode;
    @ApiParam(value = "名称", required = false)
    private String name;
    @ApiParam(value = "微信组织ID", required = false)
    private String orgWorkWeixinId;
    @ApiParam(value = "密码", required = false)
    private String pwd;
    @ApiParam(value = "账号No", required = false)
    private String account;
    @ApiParam(value = "证件编码", required = false)
    private String IDNo;

    @ApiParam(value = "状态", required = false)
    private int status;
    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(String leaveTime) {
        this.leaveTime = leaveTime;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getJobCode() {
        return jobCode;
    }

    public Long getApp_account__id() {
        return app_account__id;
    }

    public void setApp_account__id(Long app_account__id) {
        this.app_account__id = app_account__id;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<UserTypesBean> getUserTypes() {
        return userTypes;
    }

    public void setUserTypes(List<UserTypesBean> userTypes) {
        this.userTypes = userTypes;
    }

    public List<JobsBean> getJobs() {
        return jobs;
    }

    public void setJobs(List<JobsBean> jobs) {
        this.jobs = jobs;
    }

    public List<OrgsBean> getOrgs() {
        return orgs;
    }

    public void setOrgs(List<OrgsBean> orgs) {
        this.orgs = orgs;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public List<String> getGroups() {
        return groups;
    }

    public void setGroups(List<String> groups) {
        this.groups = groups;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "UserModel{" +
                "app_account__id=" + app_account__id +
                ", roles=" + roles +
                ", jobName='" + jobName + '\'' +
                ", leaveTime='" + leaveTime + '\'' +
                ", orgName='" + orgName + '\'' +
                ", sex='" + sex + '\'' +
                ", mobile='" + mobile + '\'' +
                ", typeName='" + typeName + '\'' +
                ", jobCode='" + jobCode + '\'' +
                ", userTypes=" + userTypes +
                ", jobs=" + jobs +
                ", orgs=" + orgs +
                ", updateTime='" + updateTime + '\'' +
                ", appCode='" + appCode + '\'' +
                ", email='" + email + '\'' +
                ", groups=" + groups +
                ", typeCode='" + typeCode + '\'' +
                ", workNo='" + workNo + '\'' +
                ", entryTime='" + entryTime + '\'' +
                ", pinyin='" + pinyin + '\'' +
                ", createTime='" + createTime + '\'' +
                ", orgCode='" + orgCode + '\'' +
                ", name='" + name + '\'' +
                ", orgWorkWeixinId='" + orgWorkWeixinId + '\'' +
                ", pwd='" + pwd + '\'' +
                ", account='" + account + '\'' +
                ", IDNo='" + IDNo + '\'' +
                ", status=" + status +
                '}';
    }

    public void setJobCode(String jobCode) {
        this.jobCode = jobCode;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getWorkNo() {
        return workNo;
    }

    public void setWorkNo(String workNo) {
        this.workNo = workNo;
    }

    public String getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(String entryTime) {
        this.entryTime = entryTime;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrgWorkWeixinId() {
        return orgWorkWeixinId;
    }

    public void setOrgWorkWeixinId(String orgWorkWeixinId) {
        this.orgWorkWeixinId = orgWorkWeixinId;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getIDNo() {
        return IDNo;
    }

    public void setIDNo(String IDNo) {
        this.IDNo = IDNo;
    }


}
